package com.cheng.student.beans;

import java.util.List;

public class AmountAndListTeach
{
    int amount;
    List<Teacher> teachers;

    public AmountAndListTeach()
    {
    }

    public AmountAndListTeach(int amount, List<Teacher> teachers)
    {
        this.amount = amount;
        this.teachers = teachers;
    }

    public int getAmount()
    {
        return amount;
    }

    public void setAmount(int amount)
    {
        this.amount = amount;
    }

    public List<Teacher> getTeachers()
    {
        return teachers;
    }

    public void setTeachers(List<Teacher> teachers)
    {
        this.teachers = teachers;
    }

    @Override
    public String toString()
    {
        return "AmountAndListTeach{" +
                "amount=" + amount +
                ", teachers=" + teachers +
                '}';
    }
}
